<style>

    .enabled_disabled form {
        width: 500px;
    }

    .enabled_disabled td {
        width: 400px;
        padding: 16px 40px 0 10px;
    }

    .enabled_disabled .txcls {
        width: 400px;
        height: 100px;
    }

</style>

<div i="content" class="enabled_disabled ui-dialog-content mt5">
    <form class="ui-dialog-content" name="enabledDisabledForm">
        <table width="100%">
            <tbody>
            <tr>
                <td align="center" valign="top">确定要{{data.stateText}}吗？</td>
            </tr>
            <tr>
                <td class="first-td" align="right" valign="top">
                    <textarea class="txcls" name="reason" ng-model="data.reason"
                              placeholder="必填,请填写{{data.stateText}}原因"
                              required></textarea>
                    <div ng-messages="enabledDisabledForm.reason.$error"
                         ng-show="enabledDisabledForm.$submitted || enabledDisabledForm.reason.$touched">
                        <p class="c-red lh30" style="text-align: left;margin-left: 50px;" ng-message="required">
                            原因不能为空</p>
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>